package com.lhf.aicloud.entity.dto;

import com.lhf.aicloud.entity.User;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author : lhf
 * @date : Created in 2024/07/28
 * @description: 类的描述
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserDTO extends User implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @NotBlank(message = "验证码不能为空")
    private String captcha;
}
